using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Microsoft.HomeServer.Extensibility;

namespace Microsoft.HomeServer.HomeServerConsoleTab.TV4Home.Server.WHS.AddIn
{
    public class HomeServerTabExtender : IConsoleTab
    {
        private IConsoleServices consoleServices;
        private Control tabControl;

        public HomeServerTabExtender(int width, int height, IConsoleServices consoleServices)
        {
            this.consoleServices = consoleServices;

            tabControl = new MainTabUserControl(width, height, consoleServices);

            //Additional setup code here
        }

        public Guid SettingsGuid
        {
            get
            {
                return new Guid("9B71022F-98D1-4B9E-B83D-CC4175E2737D");
            }
        }

        public Control TabControl
        {
            get
            {
                return tabControl;
            }
        }

        public Bitmap TabImage
        {
            get
            {
                return Properties.Resources.ToolbarIcon.ToBitmap();
            }
        }

        public string TabText
        {
            get
            {
                return "TV4Home";
            }
        }

        public bool GetHelp()
        {
            MessageBox.Show("Coming soon.");
            return true;
        }
    }
}
